<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		{% block title %}
        	<title>{{ setting.title }} - {{ setting.discription }}</title>
    	{% endblock %}
		<link rel="stylesheet" href="{{ url_for('static', filename='main/css/style.css') }}">
		<meta name="description" content="{{ setting.discription }}">
		<meta name="keywords" content="{{ setting.keywords }}">
		<script type="text/javascript" src="{{ url_for('static', filename='main/js/main.js') }}"></script>
	</head>
	<body class="dark">
		<header class="uk-background-center-center uk-background-cover" style="background-color:#09bd9f;">
			<div class="uk-overlay-header uk-light">
				<nav class="uk-navbar-container uk-navbar-transparent uk-navbar" data-uk-navbar="">
					<div class="uk-navbar-center">
						<div class="uk-navbar-center-left">
							<div>
								<ul class="uk-navbar-nav uk-visible@m">
									<li class="uk-active">
										<a href="{{ url_for('main.index') }}">
											首页
										</a>
									</li>
									<li>
										<a href="{{ url_for('main.about') }}">
											关于
										</a>
									</li>
								</ul>
							</div>
						</div>
						<a class="uk-navbar-item uk-logo" href="{{ url_for('main.index') }}">
							{{ setting.title }}
						</a>
						<div class="uk-navbar-center-right">
							<div>
								<ul class="uk-navbar-nav uk-visible@m">
								{% for name in category_main %}
									<li>
										<a href="/category/{{ name.name }}/">
											{{ name.name }}
										</a>
									</li>
								{% endfor %}
								</ul>
							</div>
						</div>
					</div>
				</nav>
				{% block siteinfo %}
				{% endblock %}
			</div>
		</header>
		{% block content %}
		{% endblock %}
		<footer id="footer" class="uk-background-center-center uk-background-cover uk-dark" style="background-color: #353535;">
			<div class="uk-section uk-overlay-footer">
				<div class="uk-container">
					<div class="uk-flex uk-grid uk-light uk-margin-xxlarge-top" data-uk-grid="">
						<div class="uk-width-expand@m">
							<ul class="uk-subnav uk-flex-center uk-flex-right@m">
								<li>
									<a href="{{ url_for('main.about') }}">
										关于我们
									</a>
								</li>
							</ul>
						</div>
						<div class="uk-flex-first@m uk-width-auto@m uk-text-center uk-text-left@m uk-text-meta uk-text-muted uk-link-muted uk-light- copyright uk-first-column">
							© 2023 - 2024
							<a href="{{ url_for('main.index') }}">
								{{ setting.title }}
							</a>
						</div>
					</div>
				</div>
			</div>
		</footer>
	</body>
</html>